﻿using System;
namespace XKPlatform.Common.Const
{
    public static class RedisKeyConst
    {
        /// <summary>
        /// 产品编码和产品名称
        /// </summary>
        public const string MaterialCodeAndName = "XKPlatform:Material:MaterialCodeAndName";

        /// <summary>
        /// 所有api 和角色的对应关系
        /// </summary>
        public const string PermissionList = "XKPlatform.APIGateway:UrlBasedAuthenticationMiddlewareL:PermissionList";

        /// <summary>
        /// 中台token配置
        /// </summary>
        public const string CertificationCenterConfig = "XKPlatform.Common:SSOClient:CertificationCenterConfig";

        /// <summary>
        /// 用户Accesstoken
        /// </summary>
        public const string UserAccesstoken = "XKPlatform.Common:SSOClient:UserAccesstoken:";

        /// <summary>
        /// 用户Accesstoken对应的用户信息
        /// </summary>
        public const string UserAccesstokenByUserInfo = "XKPlatform.Common:SSOClient:UserAccesstokenByUserInfo:";

        /// <summary>
        /// SkipUrl
        /// </summary>
        public const string SkipUrl = "XKPlatform.Common:SSOClient:SkipUrl:";

        /// <summary>
        /// 获取菜单
        /// </summary>
        public const string ProMenu = "XKPlatform:Account:Menu:";

        public static string QyWxAccessTokenKey = "";
    }
}
